//
//  DrawerViewController.h
//  LO_MUSIC
//
//  Created by 胡林 on 16/2/24.
//  Copyright © 2016年 杨少锋. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DrawerViewController : UIViewController
@property(nonatomic ,strong)UIViewController * rootVC;//中间视图控制器
@property(nonatomic ,strong)UIViewController * leftVC;//侧滑栏控制器
@property(nonatomic ,strong)UITapGestureRecognizer * tap;//手势
///设置中间视图控制器
-(void)setRootViewController:(UIViewController *)viewController;

///展示中间视图的方法（关闭抽屉）
-(void)showRootViewController:(UIViewController *)viewController;

///打开抽屉
-(void)showleftViewController:(UIViewController *)viewController;

@end
